package com.ktjy.ch15.service;

import com.ktjy.ch15.entity.Computerroom;
import com.ktjy.ch15.utils.Page;
import org.apache.ibatis.annotations.Param;

public interface ComputerroomService {

    public Page<Computerroom> findPage(Computerroom computerroom, Integer pageNo, Integer pageSize);

    public boolean save(Computerroom computerroom);

    public Computerroom findByRoomId(Long roomId);

    public boolean update(Computerroom computerroom);

    public boolean delete(Long roomId);

    public Computerroom findByRoomName(@Param("roomName") String roomName);
}
